﻿<UserControl x:Class="WGMClient.Controls.BackgroundTextBlock"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Background="Transparent">
    <Border x:Name="_outerBorder">
        <Border x:Name="_mainBorder" >
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto" />
                    <ColumnDefinition Width="Auto" />
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                </Grid.RowDefinitions>
                <TextBlock x:Name="_label" FontFamily="Verdana" VerticalAlignment="Center" Margin="5,0,0,0" TextTrimming="CharacterEllipsis"  HorizontalAlignment="Left" ></TextBlock>
                <TextBlock x:Name="_label2" FontFamily="Verdana" VerticalAlignment="Center" Margin="5,0,0,0" TextTrimming="CharacterEllipsis" Grid.Row="1"  HorizontalAlignment="Left" Visibility="Collapsed" ></TextBlock>
                <Border Grid.Column="1" Grid.Row="0" Grid.RowSpan="2" MaxHeight="50" MaxWidth="50" CornerRadius="5" x:Name="_imageBorder" HorizontalAlignment="Left" MouseRightButtonDown="OnImageRightClick"/>
                <Rectangle Grid.Row="2" Grid.ColumnSpan="2" Height="3" Fill="Black" Visibility="Collapsed" x:Name="_underline" HorizontalAlignment="Stretch"/>
            </Grid>
        </Border>
    </Border>


</UserControl>
